package com.qf.ebook.service;

import com.github.pagehelper.PageInfo;
import com.qf.ebook.entity.EbookEntry;

/**
 * @author Administrator
 * @version V1.0
 * @Project spring_ebook
 * @Package com.qf.ebook.service
 * @Description: ${TODO}
 * @Date 2021/10/2 16:22
 */
public interface EbookEntryService {

    void insert(EbookEntry ebookEntry);
    void deleteById(Integer id);
    void update(EbookEntry ebookEntry);

    EbookEntry findById(Integer id);

    PageInfo<EbookEntry> findByCategoryId(Integer page, Integer rows, Integer ebookCategoryId);
}
